<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <link href="{THEME_PATH}assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}assets/global/css/plugins.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}assets/global/css/common.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}assets/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}assets/global/css/components-rounded.min.css" rel="stylesheet" type="text/css" />

    <!--[if lt IE 9]>
    <script src="{THEME_PATH}assets/global/plugins/respond.min.js"></script>
    <script src="{THEME_PATH}assets/global/plugins/excanvas.min.js"></script>
    <![endif]-->
    <script type="text/javascript">var admin_file = '{SELF}'; var assets_path = '{THEME_PATH}assets/';</script>
    <script src="/config/language/{SITE_LANGUAGE}/lang.js" type="text/javascript"></script>
    <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}assets/layer/layer.js" type="text/javascript"></script>
    <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script>
</head>

<body class="page-content-white">

<form action="" class="form-horizontal" method="post" name="myform" id="myform">
    {dr_form_hidden()}
    <div class="portlet  light ">
        <div class="portlet-body">
            <div class="form-body">


                <div class="form-group" id="dr_row_name">
                    <label class="control-label col-md-3 col-xs-3 ajax_name"><span class="required" aria-required="true"> * </span>姓名</label>
                    <div class="col-xs-8 col-md-8">
                        <label><input type="text" id="dr_name" class="form-control" value="{$address.name}" name="data[name]"></label>
                    </div>
                </div>

                <div class="form-group" id="dr_row_city">
                    <label class="control-label col-md-3 col-xs-3 ajax_name"><span class="required" aria-required="true"> * </span>城市</label>
                    <div class="col-xs-8 col-md-8">
                        {$city}
                    </div>
                </div>

                <div class="form-group" id="dr_row_address">
                    <label class="control-label col-md-3 col-xs-3 ajax_name"><span class="required" aria-required="true"> * </span>详细地址</label>
                    <div class="col-xs-8 col-md-8">
                        <input type="text" id="dr_address" class="form-control" value="{$address.address}" name="data[address]">
                    </div>
                </div>

                <div class="form-group" id="dr_row_phone">
                    <label class="control-label col-md-3 col-xs-3 ajax_name"><span class="required" aria-required="true"> * </span>手机号码</label>
                    <div class="col-xs-8 col-md-8">
                        <input type="text" id="dr_phone" class="form-control" value="{$address.phone}" name="data[phone]">
                    </div>
                </div>

                <div class="form-group" id="dr_row_cname">
                    <label class="control-label col-md-3 col-xs-3 ajax_name">地址别名</label>
                    <div class="col-xs-8 col-md-8">
                        <label><input type="text" id="dr_cname" class="form-control" value="{$address.cname}" name="data[cname]"></label>
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label col-md-3 col-xs-3 ajax_name">默认地址</label>
                    <div class="col-xs-8 col-md-8">
                        <label style="margin-top: 8px" class="mt-table mt-checkbox mt-checkbox-single mt-checkbox-outline">
                            <input type="checkbox" name="data[default]" value="1" {if $address['default']}checked{/if} />
                            <span></span>
                        </label>
                    </div>
                </div>

            </div>
        </div>

    </div>

</form>

</body>

</html>